﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.ModelForJD
{
    /// <summary>
    /// 京东图片信息类
    /// </summary>
    public class SkuImageForJD
    {
        /// <summary>
        /// 返回标识
        /// </summary>
        public bool success { get; set; }
        /// <summary>
        /// 返回描述
        /// </summary>
        public string resultMessage { get; set; }
        /// <summary>
        /// 返回编码
        /// </summary>
        public string resultCode { get; set; }
        /// <summary>
        /// 商品图片集合
        /// </summary>
        public List<SkuImageDetilsForJD> result { get; set; }
    }
    /// <summary>
    /// 商品图片详情
    /// </summary>
    public class SkuImageDetilsForJD
    {
        /// <summary>
        /// 商品ID
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public string skuId { get; set; }
        /// <summary>
        /// 商品图片路径
        /// </summary>
        public string path { get; set; }
        /// <summary>
        /// 是否主图1:是;其他为附图
        /// </summary>
        public string isPrimary { get; set; }
        /// <summary>
        /// 图片排序
        /// </summary>
        public string orderSort { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime created { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime modified { get; set; }
        /// <summary>
        /// 未知
        /// </summary>
        public string position { get; set; }
        /// <summary>
        /// 图片类型
        /// </summary>
        public string type { get; set; }
        /// <summary>
        /// 未知
        /// </summary>
        public string features { get; set; }
    }
}
